FROM redis
MAINTAINER MONSTER_YUAN

#复制文件
COPY ./conf/redis.conf /usr/local/etc/redis/redis.conf

CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]

#挂在卷
VOLUME /data

EXPOSE 6379